﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HealthcareSystem.Domain
{
    /// <summary>
    /// 集中签约
    /// </summary>
    [Table("chronicsigns")]
    public class ChronicSign
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int CSignId { get; set; }
        /// <summary>
        /// 签约团队
        /// </summary>
        public string? CSignTeam { get; set; }
        /// <summary>
        /// 签约医生
        /// </summary>
        public string? CSignDoctor { get; set; }
        /// <summary>
        /// 签约开始时间
        /// </summary>
        public DateTime? CSignBegin { get; set; }
        /// <summary>
        /// 签约结束时间
        /// </summary>
        public DateTime? CSignEnd { get; set; }
        /// <summary>
        /// 管理慢病
        /// </summary>
        public string? CSignManage { get; set; }
        /// <summary>
        /// 管理级别
        /// </summary>
        public string? CSignLevel { get; set; }
        /// <summary>
        /// 签约凭证
        /// </summary>
        public string? CSignImage { get; set; }
        /// <summary>
        /// 居民档案外键
        /// </summary>
        public int RecordId { get; set; }
        /// <summary>
        /// 删除标识符
        /// </summary>
        public bool CSignIsdel { get; set; } = false;
    }
}
